package com.study.config;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 项目打成jar包，供其他项目引用时。在使用方的SpringBootApplication上面添加
 * @ Import(value = { SpringMybatisBaseAutoConfig.class })
 * 即可调用该项目
 */
@Configuration
@EnableAutoConfiguration
@ComponentScan({"com.study"})
public class SpringMybatisBaseAutoConfig {
    public SpringMybatisBaseAutoConfig() {}
}

